import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

import element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(element)


import axios from 'axios'
Vue.prototype.$http = axios

import cookie from 'vue-cookies' //引入cookie
Vue.prototype.$cookies = cookie //取别名，方便在页面中操作


Vue.prototype.$baseUrl ='http://localhost:5096'  //把服务器api地址配置在变量中，这样当服务器更改的时候，只改这一处即可
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
